function b = get(s,propName)
% GET Get lpcvd_2DSurface property from the specified object
% and return value. Property name are:

switch propName
	case 'h'
		b = s.h;
	case 'x'
		b = s.x;
	case 'y'
		b = s.y;
	case 'site_width'
		b = s.site_width;
	case 'site_width_unit'
		b = s.site_width_unit;
	case 'layer_thickness'
		b = s.layer_thickness;
	case 'layer_thickness_unit'
		b = s.layer_thickness_unit;
    otherwise
        error([propName,' is not a valid property']);
end